package com.drinks.yiniang.entity.user.points;

import com.drinks.yiniang.entity.common.AdBannerEntity;
import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 积分兑换
 * @author han
 * @date 2019/9/11
 */
public class PointsExchangeJson extends BaseJson {

    private PointsExchangeData data;

    public PointsExchangeData getData() {
        return data;
    }

    public void setData(PointsExchangeData data) {
        this.data = data;
    }

    public static class PointsExchangeData {
        //我的积分
        private String my_points;
        private List<PointsExchangeList> coupons;
        //广告位
        private AdBannerEntity banner;

        public String getMy_points() {
            return my_points;
        }

        public void setMy_points(String my_points) {
            this.my_points = my_points;
        }

        public List<PointsExchangeList> getCoupons() {
            return coupons;
        }

        public void setCoupons(List<PointsExchangeList> coupons) {
            this.coupons = coupons;
        }

        public AdBannerEntity getBanner() {
            return banner;
        }

        public void setBanner(AdBannerEntity banner) {
            this.banner = banner;
        }
    }

    public static class PointsExchangeList {
        private String id;
        private String name;
        //优惠券额度
        private String amount;
        //限制额度
        private String limit_amount;
        private String stores_id;
        //店名
        private String stores_name;
        //有效天数
        private String valid_day;
        private String status;
        private String cost_points;
        private String description;
        //有效开始时间
        private String start_time;
        //有效结束时间
        private String end_time;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getLimit_amount() {
            return limit_amount;
        }

        public void setLimit_amount(String limit_amount) {
            this.limit_amount = limit_amount;
        }

        public String getStores_id() {
            return stores_id;
        }

        public void setStores_id(String stores_id) {
            this.stores_id = stores_id;
        }

        public String getStores_name() {
            return stores_name;
        }

        public void setStores_name(String stores_name) {
            this.stores_name = stores_name;
        }

        public String getValid_day() {
            return valid_day;
        }

        public void setValid_day(String valid_day) {
            this.valid_day = valid_day;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCost_points() {
            return cost_points;
        }

        public void setCost_points(String cost_points) {
            this.cost_points = cost_points;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }
    }
}
